package com.zwl.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("firearms")
public class Firearms {  //武器
    @TableId(type = IdType.AUTO)
    private Integer id;
    
    @TableField("gun_image")
    private String gunImage;
    
    @TableField("gun_name")
    private String gunName;
    
    @TableField("gun_price")
    private Integer gunPrice;
    
    @TableField("base_damage")
    private Integer baseDamage;
    
    @TableField("advantage_range_shot")
    private Integer advantageRangeShot;
    
    @TableField("fire_rate")
    private Integer fireRate;
    
    @TableField("magazine_capacity")
    private Integer magazineCapacity;
    
    @TableField("firing_mode")
    private String firingMode;
    
    @TableField("muzzle_velocity")
    private Integer muzzleVelocity;
    
    @TableField("gunshot_spread_distance")
    private Integer gunshotSpreadDistance;
    
    @TableField("cartridge_diameter")
    private String cartridgeDiameter;
    
    @TableField("fastest_footer_speed")
    private BigDecimal fastestFooterSpeed;
    
//    @TableField(fill = FieldFill.INSERT)
    private Date createdAt;
    
//    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedAt;
}